cmake_minimum_required(VERSION 2.4)
project(rs-game-framework)
include(Common.cmake)

option(BUILD_SAMPLES "Set when you want to build the samples" ON)
option(BUILD_TESTS "Set when you want to build the unit test" ON)

message(STATUS "Building source...")
add_subdirectory(source/)

if(BUILD_TESTS)
	message(STATUS "Building tests...")
	add_subdirectory(tests/)
endif(BUILD_TESTS)

if(BUILD_SAMPLES)
	message(STATUS "Building samples...")
	add_subdirectory(samples/)
endif(BUILD_SAMPLES)